package com.my.study;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 参考博客：https://zhuanlan.zhihu.com/p/430559643
 *
 *           https://zhuanlan.zhihu.com/p/349962352
 *           
 *           
 *           http://localhost:15800/oauth2/authorization/gitee
 *
 * @author Carlos
 * @version 1.0.0
 * @date 2022/1/7 7:43
 */
@Slf4j
@SpringBootApplication
public class SecurityApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext ctx = SpringApplication.run(SecurityApplication.class, args);

        String[] beanDefinitionNames = ctx.getBeanDefinitionNames();
        for (String beanDefinitionName : beanDefinitionNames) {
            log.info("{}", beanDefinitionName);
        }

    }

}
